/*    */ package com.qmsk.business.store.outstockbill.dao;
/*    */ 
/*    */ import com.qmsk.business.sys.basic.SupportDAO;
/*    */ import com.utils.gson.in.GsonHeadOneRow;
/*    */ import com.utils.gson.out.GsonEbRst;
/*    */ import java.sql.SQLException;
/*    */ import java.util.HashMap;
/*    */ import java.util.Map;
/*    */ 
/*    */ public class OutStockBillDAO extends SupportDAO
/*    */ {
/*    */   public GsonEbRst getGsonOfId(Long id)
/*    */     throws SQLException
/*    */   {
/* 14 */     Map params = new HashMap();
/* 15 */     params.put("id", id);
/* 16 */     return getGsonOfParams("selectSqlOfAll", params, false);
/*    */   }
/*    */ 
/*    */   public GsonHeadOneRow getOneRowOfId(Long id) throws SQLException {
/* 20 */     Map params = new HashMap();
/* 21 */     params.put("id", id);
/* 22 */     return getOneRowOfParams("selectSqlOfAll", params);
/*    */   }
/*    */ 
/*    */   public Integer updateStatusOfId(Long id) throws SQLException {
/* 26 */     Map params = new HashMap();
/* 27 */     params.put("id", id);
/* 28 */     return Integer.valueOf(update("updateStatusOfId", params));
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfAll(Map<String, Object> params, Integer nPageIdx, Short nPageSize)
/*    */     throws SQLException
/*    */   {
/* 37 */     return getGsonOfParams("selectSqlOfAll", params, nPageIdx, nPageSize, true);
/*    */   }
/*    */ 
/*    */   public String getMaxBillNo(Object shopId) throws SQLException
/*    */   {
/* 42 */     return getSpTableFieldDayNoShopId("OutBillNo", shopId);
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.store.outstockbill.dao.OutStockBillDAO
 * JD-Core Version:    0.5.3
 */